package com.ibm.interview.brno;

public class FactorialExampleJavaInterview 
{
    public long factorial(final int n) {
        long result = 1L;
        for (int i = 1; i <=n; i++) {
            result = result * i;
        }
        return result;
    }
}
